package com.oa.srms.apps.entity.dormitory;

import java.io.Serializable;

@SuppressWarnings("serial")
public class BedInfoValue implements Serializable {
	private Integer id;
	private String building;
	private String roomNo;
	private Integer bedNo;
	private Integer grade;
	private Integer classNo;
	private String gender;
	private Integer states;
	
	private String bedInfoDetail;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBuilding() {
		return building;
	}

	public void setBuilding(String building) {
		this.building = building;
	}

	public String getRoomNo() {
		return roomNo;
	}

	public void setRoomNo(String roomNo) {
		this.roomNo = roomNo;
	}

	public Integer getBedNo() {
		return bedNo;
	}

	public void setBedNo(Integer bedNo) {
		this.bedNo = bedNo;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Integer getClassNo() {
		return classNo;
	}

	public void setClassNo(Integer classNo) {
		this.classNo = classNo;
	}

	public Integer getStates() {
		return states;
	}

	public void setStates(Integer states) {
		this.states = states;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBedInfoDetail() {
		this.bedInfoDetail = getBuilding()+getRoomNo()+"房间"+getBedNo()+"号床位";
		return bedInfoDetail;
	}

	public void setBedInfoDetail(String bedInfoDetail) {
		this.bedInfoDetail = bedInfoDetail;
	}
}
